package com.example.dee.pojo.vo;

import java.util.Date;

/**
 * @ClassName ResponseJSON
 * @创建人 李劲松
 * @创建时间 2022/7/20 19:15
 * @描述
 */
public class ResponseJSON {
    private Integer subCode;//响应码:1成功,2失败
    private String state;//操作状态：0未上传,1已上传,2已修改,3上传失败
    private Date date;//操作时间
    private String info;//响应描述

    public ResponseJSON(Integer subCode, String state, Date date, String info) {
        this.subCode = subCode;
        this.state = state;
        this.date = date;
        this.info = info;
    }

    public ResponseJSON() {
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getSubCode() {
        return subCode;
    }

    public void setSubCode(Integer subCode) {
        this.subCode = subCode;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "ResponseJSON{" +
                "subCode=" + subCode +
                ", date=" + date +
                ", info='" + info + '\'' +
                '}';
    }
}
